smc911x: make smc911x_initialize return correct value
authorMike Rapoport <[email protected]>
Thu, 12 Nov 2009 13:35:08 +0000 (15:35 +0200)
committerBen Warren <[email protected]>
Fri, 13 Nov 2009 05:25:57 +0000 (21:25 -0800)
commitfbd47b6753b08162436d9ccad1e63c8d43ede54c
tree08d7407f3b3412e2c5a5ff479b015685a29b4097
parentc44efcf97b335dcef7d014f65b7d3094e79adb13
smc911x: make smc911x_initialize return correct value

Make smc911x_initialize return -1 on error and number of interfaces
detected otherwise.

Signed-off-by: Mike Rapoport <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
Signed-off-by: Ben Warren <[email protected]>
drivers/net/smc911x.c